package com.zang.server.pojo;

    import com.baomidou.mybatisplus.annotation.*;

    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author zang
* @since 2022-02-24
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("t_operation_log")
    @ApiModel(value="OperationLog对象", description="")
    public class OperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

        @TableField("opt_module")
    private String optModule;

        @TableField("opt_type")
    private String optType;

        @TableField("opt_url")
    private String optUrl;

        @TableField("opt_method")
    private String optMethod;

        @TableField("opt_desc")
    private String optDesc;

        @TableField("request_param")
    private String requestParam;

        @TableField("request_method")
    private String requestMethod;

        @TableField("response_data")
    private String responseData;

        @TableField("user_id")
    private Integer userId;

    private String nickname;

        @TableField("ip_address")
    private String ipAddress;

        @TableField("ip_source")
    private String ipSource;

        @TableField(value = "create_time" ,fill = FieldFill.INSERT)
    private LocalDateTime createTime;

        @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
